// 数据配置
const datas = {
	list: {
		title: "获取方式",
		type: "ustyle",
		value: [],
		show: 'list',
		min: 1,
		max: 30,
		choose: 'coupons',
		options: [
			{label: "自动获取", value: "1"},
			{label: "手动获取", value: "2"},
		]
	},
	get_style: {
		title: "获取方式",
		type: "radio",
		value: "1",
		options: []
	},
	get_number: {
		title: "显示数量",
		type: 'number',
		value: 10,
		min: 1,
		max: 100
	},
	preview_color: {
		title: "背景颜色",
		type: "color",
		value: "#ffffff"
	},
	coupons_style: {
		title: "优惠券样式",
		type: "radio",
		value: "1",
		options: [
			{label: "样式一", value: "1"},
			{label: "样式二", value: "2"},
			{label: "样式三", value: "3"},
		]
	},
	coupons_font_color: {
		title: "优惠券字体颜色",
		type: "color",
		value: "#ffffff"
	},
	coupons_color: {
		title: "优惠券背景",
		type: "bg",
		value: {
			isColor: '1',
			color: "#29ba9c",
			image: ""
		}
	},
	coupons_border_color: {
		title: "优惠券线条颜色",
		type: "color",
		value: "#C1E7DF"
	},
};

// 样式配置
const styles = {};

import template1 from './template1';

export const config = {
	datas,
	styles,
	layout: [
		template1
	]
};
